package aimis.dto.form;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AuthorityForm {
    @NotNull(message = "id不能为空", groups = {AuthorityForm.DeleteAuthority.class})
    private Long id;
    @NotBlank(message = "权限名称不能为空")
    private String name;
    @NotNull(message = "显示排序不能为空")
    private Integer sort;

    private String description;

    public interface DeleteAuthority {
    }
}
